import Layout from '@/layout'
export default {
  path: '/multiLevel',
  component: Layout,
  redirect: '/dashboard/two-one',
  name: 'level0',
  meta: { title: '二级路由展示', icon: 'dashboard' },
  children: [
    {
      path: '/level1-1',
      name: 'level1-1',
      component: () => import('@/views/multiLevel/two-one'),
      meta: { title: '测试1', icon: 'dashboard' }
    },
    {
      path: '/level1-2',
      name: 'level1-2',
      component: () => import('@/views/multiLevel/two-two'),
      meta: { title: '测试-2', icon: 'dashboard' },
      children: [
        {
          path: '/level2-1',
          name: 'level2-1',
          component: () => import('@/views/multiLevel/two-two'),
          meta: { title: '测试-3', icon: 'dashboard' }
        },
        {
          path: '/level2-2',
          name: 'level2-2',
          component: () => import('@/views/multiLevel/two-two'),
          meta: { title: '测试-3', icon: 'dashboard' }
        },
        {
          path: '/level2-3',
          name: 'level2-3',
          component: () => import('@/views/multiLevel/two-two'),
          meta: { title: '测试-3', icon: 'dashboard' }
        }
      ]
    }
  ]
}
